package edu.tjpu.share.app;

public class Fields {

	public final static int LOGIN_MESSAGELIST=100;
	public final static int CREATE_ACCOUNT=101;
	//public final static String HOST = "192.168.137.1";
	public final static String HOST = "host";
	public final static String PORT = "port";
	public final static String IS_HOST_SAVED = "ishostsaved";
	public final static String USER_NAME = "username";
	public final static String USER_PASSWD = "userpasswd";
	public final static String USER_AVATAR = "useravatar";
	public final static String NEED_AVATAR = "needavatar";
	public final static String NEED_DOWNLOAD = "needdownload";
	public final static String NEED_UPLOAD = "needupload";
	//public final static int PORT = 9999;
	public final static String USER="user";
	public final static int MESSAGE_LIST_DOWNLOAD_ID=102;
	public final static int MESSAGE_LIST_DELETE_ID=103;
	public final static int MESSAGE_LIST_MARK_ID=104;
	public final static int NEW_MESSAGE=105;
	
	
	public final static String IMAGE_UNSPECIFIED = "image/jpg";
	public static final int ACTIVITY_GET_IMAGE = 1; 
	public final static String AUDIO_UNSPECIFIED = "audio/mp3";
	public static final int ACTIVITY_GET_AUDIO = 2; 
	public final static String FILE_UNSPECIFIED = "file/*";
	public static final int ACTIVITY_GET_FILE = 3;
	
//	public static final int CREATE_ACADEMY_DIALOG = 1;
//	public static final int CREATE_MAJOR_DIALOG = 2;
//	public static final int CREATE_CLASS_DIALOG = 3;
//	public static final int CREATE_USER_DIALOG = 4;
		
	public static final int ACADEMY_DIALOG_READY = 1;
	public static final int MAJOR_DIALOG_READY = 2;
	public static final int CLASS_DIALOG_READY = 3;
	public static final int USER_DIALOG_READY = 4;
	
	public static final String ACADEMY_LIST = "academylist";
	public static final String MAJOR_LIST = "majorlist";
	public static final String CLASS_LIST = "classlist";
	public static final String USER_LIST = "userlist";
	public static final String FILE_LIST = "filelist";
	public static final String FILE_FORUPLOAD = "fileforupload";
	public static final String TEMP_FILE = "tempfile";
	public static final String GID = "gid";
	public static final String MID = "mid";
	public static final String CID = "cid";
	public static final String UID = "uid";
	public static final String STATUS = "status";
	public static final String IS_REG = "isreg";
	public static final String FILE_NAME = "filename";
	public static final String FILE_URL = "fileurl";
	public static final String STORE_URL = "storeurl";
	public static final String PROGRESS = "progress";
	public static final String LOCAL_FILE = "localfile";
	public static final String CONTEXT = "context";
	
	public static final String HANDLER = "handler";
	public static final String SERVER_INFO = "server";
	public static final String FOR_DOWNLOAD = "filefordownload";
	public static final String FOR_UPLOAD = "fileforupload";
	public static final String OFFSET = "offset";
	public static final String WITHOUTFILE = "withoutfile";
	public static final String USER_AGENT = "Mozilla/5.0 (Linux; U; Android 2.2) AppleWebKit/533.1 (KHTML, like Gecko) Version/4.0 Mobile Safari/533.1";
	
	public static final int FLING_MIN_DISTANCE=100;
	public static final int FLING_MIN_VELOCITY=200;
	
	public final static int LARGE_PEN_WIDTH = 15;
    public final static int MIDDLE_PEN_WIDTH = 10;
    public final static int SMALL_PEN_WIDTH = 5;
    public final static int LARGE_ERASER_WIDTH = 20;
    public final static int MIDDLE_ERASER_WIDTH = 10;
    public final static int SMALL_ERASER_WIDTH = 5;
    public static final int STROKE_NONE = 0;
    public static final int STROKE_PEN = 1;
    public static final int STROKE_ERASER = 2;
    public static final int UNDO_SIZE = 20;
    
    public static final String BITMAP_TO_DO="bg_bitmap";
    public static final String BITMAP_DONE="new_bitmap";
    public static final int BG_BITMAP=106;
    public static final int NEW_BITMAP=107;
    public static final String BITMAP_PATH="path";
    
    public static final int PICTURE_MENU_DRAW=108;
    public static final int PICTURE_MENU_REDO=109;
    public static final int PICTURE_MENU_DELETE=201;
    public static final int NETWORK_CONNECTION_ERROR=404;
    public static final int SUCCESS=2011111;
    public static final int TAKE_PICTURE = 151;
    
    /*------------------------自动更新-------------------------------*/
    //public static int localVersion = 0;
    //public static int serverVersion = 0;
    //public static String downloadDir = "/share/updateCache/";
}
